package Model
{	

	[Bindable]
	public class Project
	{
		private var _projectInfo:ProjectInfo;
		private var _areas:Areas;
		private var _quality:Quality;
		private var _heating:HeatingInfo;
		private var _calculations:Calculations;
		private var _modified:Boolean = false;
		
		public function Project()
		{
			this.projectInfo = new ProjectInfo();
			this.areas = new Areas();
			this._quality = new Quality();
			this._heating = new HeatingInfo();
			this._calculations = new Calculations();
			
		}

		public function get calculations():Calculations
		{
			return _calculations;
		}

		public function set calculations(value:Calculations):void
		{
			_calculations = value;
		}

		public function get modified():Boolean
		{
			return _modified;
		}

		public function set modified(value:Boolean):void
		{
			_modified = value;
		}

		public function get areas():Areas
		{
			return _areas;
		}

		public function set areas(value:Areas):void
		{
			_areas = value;
		}

		public function get projectInfo():ProjectInfo
		{
			return _projectInfo;
		}

		public function set projectInfo(value:ProjectInfo):void
		{
			_projectInfo = value;
		}

		public function get quality():Quality
		{
			return _quality;
		}

		public function set quality(value:Quality):void
		{
			_quality = value;
		}

		public function get heating():HeatingInfo
		{
			return _heating;
		}

		public function set heating(value:HeatingInfo):void
		{
			_heating = value;
		}
	}
}